﻿@model IList<ProductOverviewModel>
@inject IPageHeadBuilder pagebuilder
@{
    Layout = "_TwoColumns";

    //title
    pagebuilder.AddTitleParts(Loc["Title.NewProducts"]);
}
<div class="page recently-added-products-page col-12 px-0">
    <h1 class="h2 generalTitle">@Loc["Products.NewProducts"]</h1>
    @if (Model.Any())
    {
        <div class="form-row product-grid">
            @foreach (var product in Model)
            {
                <div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
                    <partial name="Partials/CatalogProductView" model="product"/>
                </div>
            }
        </div>
    }
</div>